bin=RingBuffer
cc=g++
src=$(wildcard *.cc)

$(bin):$(src)
	$(cc) -o $@ $^ -lpthread

.PHONY:clean
clean:
	rm -f $(bin) $(obj)